package com.wdc.n1;

import java.util.Objects;


public class ExerciseSell {

    static final Object obj = new Object();

    public static void  method1() {
        synchronized (obj) {
            method2();
        }
    }


    public static void  method2() {
        synchronized (obj) {

        }
    }
}
